A DocumentFragment node can have an
associated element named
host.
Operations |
void | append((Node or DOMString) nodes...) |
Element? | - getElementById(DOMString elementId)
- The
getElementById(elementId)
method must return the first element, in
tree order, within context object's
descendants, whose
ID is elementId, and null if there is no
such element otherwise.
|
void | prepend((Node or DOMString) nodes...) |
Element? | - query(DOMString relativeSelectors)
- The
query(relativeSelectors)
method must return the first result of running
match a relative selectors string relativeSelectors against
a set consisting of context object, and null if the result is an empty list.
|
Elements | - queryAll(DOMString relativeSelectors)
- The
queryAll(relativeSelectors)
method must return an Elements array initialized with the result of running
match a relative selectors string relativeSelectors against
a set consisting of context object.
|
Element? | - querySelector(DOMString selectors)
- The querySelector() methods on the Document, DocumentFragment, and Element interfaces must
return the first matching Element node within the subtrees of the context
node. If there is no matching Element, the method must return null.
|
Element? | - querySelector(DOMString selectors)
- The
querySelector(selectors)
method must return the first result of running scope-match a selectors string
selectors against the context object, and null if the result
is an empty list otherwise.
|
NodeList | - querySelectorAll(DOMString selectors)
- The querySelectorAll() methods on
the Document, DocumentFragment, and Element interfaces must
return a NodeList containing all of
the matching Element nodes within the
subtrees of the context
node, in document order. If there are no
matching nodes, the method must return an empty NodeList.
|
NodeList | - querySelectorAll(DOMString selectors)
- The
querySelectorAll(selectors)
method must return the static result of
running scope-match a selectors string selectors against the
context object.
|